home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_09_02
/
9n02118a
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1990-12-15
|
391 b
|
19 lines
ret = yylex();
switch(ret)
{
case SET:
/* Next input should be the numeric value */
ret = yylex();
if (ret != INTEGER_NUMBER)
{
printf("\n ERROR -- number not specified
after SET");
exit(0);
}
else
sscanf(yytext,"%d",&value);
break;
...